package cc.mrbird.febs.pedometer.entity;

import java.math.BigDecimal;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 鸡 列表 Entity
 *
 * @author li
 * @date 2020-02-01 19:38:49
 */
@Data
@TableName("chicken")
public class Chicken {

    /**
     * 编号
     */
    @TableId(value = "chicken_id", type = IdType.AUTO)
    private Long chickenId;

    /**
     * 鸡公母 0:公 1：母
     */
    @TableField("sex")
    private Byte sex;

    /**
     * 毛重
     */
    @TableField("weight")
    private BigDecimal weight;
    /**
     * 批次id
     */
    @TableId(value = "batches_id", type = IdType.AUTO)
    private Integer batchesId;

    @TableId(value = "type", type = IdType.AUTO)
    private Integer type;
}
